﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ChiTietSanPham.aspx.cs"
    Inherits="SacMauVN.ChiTietSanPham" MasterPageFile="~/Site1.Master" %>

<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="MainContent">
    <div class="view-product resetall">
        <h3 class="h3-product">
            Chi tiết Sản Phẩm</h3>
        <asp:Repeater ID="rptSanPham" runat="server">
            <ItemTemplate>
                <div class="img-view">
                    <div class="pic">
                        <a class="fancybox" href='<%# Eval("Image") %>' data-fancybox-group="gallery" title='<%# Eval("Ten") %>'>
                            <img class="brimg01-monan" alt='<%# Eval("Ten") %>' title='<%# Eval("Ten") %>' src='<%# Eval("Image") %>'>
                        </a>
                    </div>
                </div>
                <div class="text-view">
                    <p class="tensp">
                        <%#Eval("Ten") %></p>
                    <p class="gia">
                        Mã: <span>
                            <%#Eval("Ma") %></span>
                    </p>
                    <p class="gia">
                        Giá thị trường: <span>
                            <%#Convert.ToDouble(Eval("GiaTien")).ToString("###,### VNĐ")%></span>
                    </p>
                    <p class="giakm">
                        Giá khuyến mãi:
                        <%#(Eval("GiaKM").Equals("0") ||  Eval("GiaKM") == DBNull.Value)? "Không có" : Convert.ToDouble(Eval("GiaKM")).ToString("###,### VNĐ")%></p>
                    <p class="trongluong">
                        Trọng lượng:
                        <%#Eval("TrongLuong")%></p>
                    <p class="bm">
                        Bảng Màu:</p>
                    <%--<div class="bangmau ">
                <div class="ajaxoption">
                    <ul class="resetall list-bangmau">
                        <li><a title="son ngoi" href="/upload/images/bangmau/CaDin/Son%20noi%20that/IMG.jpg"
                            rel="example_group">
                            <img alt="son ngoi" src="/upload/thumbs/images/bangmau/CaDin/Son%20noi%20that/IMG.jpg">
                        </a>
                            <p>
                                son ngoi</p>
                        </li>
                        <li><a title="son ngoi" href="/upload/images/bangmau/CaDin/Son%20noi%20that/IMG_0001.jpg"
                            rel="example_group">
                            <img alt="son ngoi" src="/upload/thumbs/images/bangmau/CaDin/Son%20noi%20that/IMG_0001.jpg">
                        </a>
                            <p>
                                son ngoi</p>
                        </li>
                        <li><a title="son ngoi" href="/upload/images/bangmau/CaDin/Son%20noi%20that/IMG_0002.jpg"
                            rel="example_group">
                            <img alt="son ngoi" src="/upload/thumbs/images/bangmau/CaDin/Son%20noi%20that/IMG_0002.jpg">
                        </a>
                            <p>
                                son ngoi</p>
                        </li>
                    </ul>
                    <div class="clear">
                    </div>
                    <div class="phantrang">
                        <ul>
                            <li class="current"><span>1</span> </li>
                            <li><a class="pager-next Active" url="/index_ajax.php?module_name=shop_product&action=bangmau&product_id=2616&limit=3&page=2">
                                2</a> </li>
                            <li><a class="pager-next Active" url="/index_ajax.php?module_name=shop_product&action=bangmau&product_id=2616&limit=3&page=2">
                                >></a> </li>
                        </ul>
                    </div>
                </div>
            </div>--%>
                </div>
            </ItemTemplate>
        </asp:Repeater>
        <div class="clear">
        </div>
        <h3 class="tt-sp">
            Thông Tin:</h3>
        <asp:Literal ID="ltrThongTin" runat="server"></asp:Literal>
    </div>
    <div class="product-xn-center product-center resetall">
        <h3 class="h3-product">
            Sản phẩm tương đương</h3>
        <div class="product-pp">
            <asp:Repeater ID="rptListSameProduct" runat="server">
                <ItemTemplate>
                    <div class="product ">
                        <a title='<%#Eval("Ten") %>' href='<%#"ChiTietSanPham.aspx?pID="+Eval("ID") %>'>
                            <img width="81" alt='<%#Eval("Ten") %>' src='<%#Eval("Image") %>'>
                            <p class="p-product2">
                                <%#Eval("Ten") %>
                            </p>
                            <p style="font-weight: bold; color: #000000">
                                Mã SP:
                                <%#Eval("Ma") %>
                            </p>
                            <p class="p-product3">
                                Giá:
                                <%#Convert.ToDouble(Eval("GiaTien")).ToString("###,### VNĐ") %>
                            </p>
                        </a>&nbsp;</div>
                </ItemTemplate>
            </asp:Repeater>
        </div>
    </div>
</asp:Content>
